Base Divisibility Rules
A divisibility rule is a short rule or algorithm that can be used to determine (generally integral) divisibility. Here is a list of many divisibility rules based on the digits of integers in their base
Throughout these proofs, let
Each of these rules is only provided for non-negative integers, however most of them generalise to any integer. Rules that don't include that of
Also note we only prove rules for divisibility by prime powers since for example checking divisibility by
2
A natural number is divisible by
Proof
Since
and therefore
which implies that
3
A natural number is divisible by
Proof
Consider that
From here it is clear that
which implies that
4
A natural number is divisible by
Proof
Since
and therefore
which implies that
5
A natural number is divisible by
Proof
As
and therefore
which implies that
7
A natural number is divisible by
Since this rule is a little weirder, here is an example.
Solution
We take the truncated number
Proof
where this last equivalence holds because